home *** CD-ROM | disk | FTP | other *** search
- Path: news.tte.vtt.fi!newsmaster
- From: Ali Lattunen <Ali.Lattunen@vtt.fi>
- Newsgroups: comp.lang.c++
- Subject: DESPERATE with Borland C++ 4.5 compiler
- Date: 2 Feb 1996 11:30:20 GMT
- Organization: VTT Information Technology
- Message-ID: <4esskc$8d8@hemuli.tte.vtt.fi>
- NNTP-Posting-Host: tte2053.tte.vtt.fi
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.2N (Windows; I; 16bit)
-
-
- Still the same problem:
-
- Linker recognizes only one instance of template class non-inline member
- functions. If I have two template class instancies of different user
- defined type as my class members, e.g.,
-
- class MyClass {
- ..
- TemplateClass<X> XMember;
- TemplateClass<Y> YMember;
- };
-
- member functions TemplateClass<Y>::XXX that are not inline are not
- recognized by the linker.
-
- If I declare them inline, the linker works fine even if the compiler
- warns that functions cannot be expanded inline due to while-statements
- inside the function body.
-
- How is this done right?
- How can I avoid using inline functions here?
-
- Does Borland have any online user information service?
-
- Thanks in advance:
-
- ---------------------------------------------
- Ali Lattunen
- VTT Information Tecnology
- Telecommunications
- Otakaari 7 B, Espoo, P.O. Box 1202
- FIN-02044 VTT
- Finland
-
- phone: +358 0 456 6482
- fax: +358 0 456 7013
- email: Ali.Lattunen@vtt.fi
- ---------------------------------------------
-
-
-
-